<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of ContactForm
 *
 * @author Jonnatan
 */
class RegisterForm extends sfGuardUserForm {

    public function configure() {

        parent::configure();

//        unset(
//                $this['is_active'],
//                $this['is_super_admin'],
//                $this['algorithm'],
//                $this['salt'],
//                $this['created_at'],
//                $this['last_login'],
////                $this['sf_guard_user_group_list'],
//                $this['sf_guard_user_permission_list']
////                $this['FECHAINGRESOUSUARIO']
//                );

//        $profileForm = new sfGuardUserProfileForm($this->object->Profile);
//        $profileForm->widgetSchema->setFormFormatterName('list');
//        unset(
//                $profileForm['user_id'],
//                $profileForm['FECHAINGRESOUSUARIO']
//                );

        
//        $this->embedForm('Usuario', $profileForm);

        

        $this->widgetSchema->setNameFormat('sf_guard_user[%s]');
//        $this->widgetSchema->setFormFormatterName('list');
    }

}
